--lua script

--#include "data\functions\Guild\GuildSbkWar.lua"  once  
--#include "data\functions\Guild\GuildContendWar.lua" once          --行会争夺

MonDeathDispatcher.StatusMonsterDie = function (monster,monId)
    OnSbkStatusDie(monster,monId)
end

MonDeathDispatcher.register(GuildSiegeConfig.statusMonster.monsterId, MonDeathDispatcher.StatusMonsterDie )

MonDieDispatcher.ContendStatusMonsterDie = function (monster,sysarg,monId)
    OnContendStatusDie(monster,sysarg,monId)
end

MonDieDispatcher.register(GuildContendConfig.statusMonster.monsterId, MonDieDispatcher.ContendStatusMonsterDie )

MonDeathDispatcher.ContendStatusMonsterDie = function (monster,monId)
    OnContendStatusDeath(monster,monId)
end

MonDeathDispatcher.register(GuildContendConfig.statusMonster.monsterId, MonDeathDispatcher.ContendStatusMonsterDie )


--[[
MonDieDispatcher.Mon115Die = function(monster,sysarg,monId)
	local monPosX, monPosY = Actor.getEntityPosition(monster, 0, 0)
	OnWallMonsterDie(monPosX,monPosY)
end

MonDieDispatcher.Mon116Die = function(monster,sysarg,monId)
	local monPosX, monPosY = Actor.getEntityPosition(monster, 0, 0)
	OnWallMonsterDie(monPosX,monPosY)
end

MonDieDispatcher.Mon261Die = function(monster,sysarg,monId)
	local monPosX, monPosY = Actor.getEntityPosition(monster, 0, 0)
	OnWallMonsterDie(monPosX,monPosY)
end

MonDieDispatcher.Mon114Die = function(monster,sysarg,monId)
	local monPosX, monPosY = Actor.getEntityPosition(monster, 0, 0)
	OnSbkGuardDie(monPosX,monPosY)
end

MonDieDispatcher.register(115, MonDieDispatcher.Mon115Die )
MonDieDispatcher.register(116, MonDieDispatcher.Mon116Die )
MonDieDispatcher.register(261, MonDieDispatcher.Mon261Die )
MonDieDispatcher.register(114, MonDieDispatcher.Mon114Die )
]]
